package com.dx.mes.common.dao;

import com.dx.common.table.ppt.Ret_stocker_ptn;
import com.dx.common.table.ppt.Ret_stocker_ptnId;
import com.dx.mes.common.core.dao.GenericDao;
import com.dx.mes.common.table.rtnBean.SimpleRtnBeen;
import com.dx.mes.common.table.rtnBean.rtd.StockerBeen;

import java.util.List;

public interface IRetStockerPtnDao extends GenericDao<Ret_stocker_ptn, Ret_stocker_ptnId> {
	//获取Stocker partition设定数量、使用数量
/*	List<StockerPatiBeen> comStkInSumPatiInCrr(String stocker_id, List<Ret_box_xfr> box_xfrList);*/
	
	/**
	 * Select Suitable Stocker Partition For Carrier
	 * @param stockerBeenList
	 * @param tool_id
	 * @param port_id
	 * @param zone_id
	 * @return
	 */
	SimpleRtnBeen comStkInSelectReturnPati(List<StockerBeen> stockerBeenList, String tool_id,
                                           String port_id, String zone_id);
	
	/**
	 * 获取Stocker Partition信息
	 * @param stockerBeenList
	 * @param stocker_id
	 * @param zone_id
	 * @return
	 */
	SimpleRtnBeen comStkInSelectPati(List<StockerBeen> stockerBeenList, String stocker_id, String zone_id);
}
